TotalContest\Submission\Model D

Total Complexity 178
Dependencies 23
Dependents 6
Total lines 1,627
Lines of code 711
Logical lines of code 387
Comment lines 710
Methods 75
Properties 14

Methods 75

Method Rating Maintainability Complexity Lines of code
getBlocks()
B
41 20 52
__construct()
A
41 9 51
getContent()
A
47 10 34
toArray()
A
38 7 71
getBindings()
A
44 7 41
incrementRatings()
S
51 6 25
getVisibleFields()
S
53 6 22
getDateDiffForHuman()
S
56 6 16
getFieldContent()
S
58 6 15
isAcceptingVotes()
S
57 4 17
getSeoAttributes()
S
58 4 15
getDetailedRatings()
S
56 3 16
getThumbnailUrl()
S
62 4 10
getCategory()
S
63 4 9
save()
S
61 3 12
getTitle()
S
51 2 26
compileExpressions()
S
62 3 11
getShareAttributes()
S
53 2 23
getFormFields()
S
65 3 9
getField()
S
67 3 7
getPreview()
S
62 2 11
getRatings()
S
61 2 11
getErrorMessage()
S
78 2 3
setError()
S
77 2 3
render()
S
65 2 9
getCategoryName()
S
75 2 4
hasVoted()
S
69 2 7
getPermalink()
S
69 2 6
getPercentageWithLabel()
S
69 2 6
getPercentage()
S
70 2 6
isOwner()
S
68 2 6
__toString()
S
80 1 3
getPrefix()
S
76 1 4
getVotesNumber()
S
80 1 3
setAction()
S
80 1 3
getAction()
S
82 1 3
getUrl()
S
71 1 6
incrementViews()
S
73 1 5
getAjaxUrl()
S
71 1 6
getScreen()
S
82 1 3
getReceivedVotes()
S
82 1 3
setScreen()
S
76 1 4
jsonSerialize()
S
81 1 3
getTemplateId()
S
78 1 4
getReceivedViews()
S
82 1 3
getVotesWithLabel()
S
74 1 4
getId()
S
81 1 3
setForm()
S
80 1 3
incrementVotes()
S
71 1 6
getFields()
S
79 1 3
getForm()
S
82 1 3
getAdminEditLink()
S
79 1 3
getAttribute()
S
69 1 7
getSubmissionPost()
S
82 1 3
getContest()
S
82 1 3
getDate()
S
82 1 3
getViews()
S
80 1 3
getViewsNumber()
S
80 1 3
getViewsWithLabel()
S
74 1 4
getRate()
S
80 1 3
getRateNumber()
S
79 1 3
getRateWithLabel()
S
72 1 5
getType()
S
79 1 3
getAuthor()
S
80 1 3
getSubtitle()
S
75 1 4
getAttributes()
S
82 1 3
getVotes()
S
80 1 3
isEmbeddable()
S
78 1 3
isApproved()
S
74 1 4
getDateDiff()
S
74 1 4
getLimitations()
S
82 1 3
getRestrictions()
S
82 1 3
getError()
S
82 1 3
hasError()
S
80 1 3
isWinner()
S
79 1 3